package com.zc.cloud.register;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 注册中心
 *
 * @projectName: cloud-service
 * @package: com.rayeye.cloud.register
 * @className: RegisterApplication
 * @description: 注册中心
 * @author: Neil.Zhou
 * @createDate: 2018-11-19 16:49
 * @updateUser: Neil.Zhou
 * @updateDate: 2018-11-19 16:49
 * @updateRemark: The modified content
 * @version: 1.0
 * <p>Copyright: Copyright (c) 2018</p>
 */
@SpringBootApplication
@EnableEurekaServer
public class RegisterApplication {
    private static Logger logger = LoggerFactory.getLogger(RegisterApplication.class);
    public static void main(String[] args) {
        logger.trace("========= 注册中心服务启动 ============= ");
        new SpringApplicationBuilder(RegisterApplication.class).bannerMode(Banner.Mode.OFF).run(args);
    }
}
